/**
 * @Date 2025/1/2 8:57
 * @Created by 衡盛永
 */

package org.example.deploy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.deploy.pojo.SysMenu;

import java.util.List;

public interface SysMenuService extends IService<SysMenu> {
    List<SysMenu> getMenusByUserId();

    List<SysMenu> getAllMenus();

    // 给角色分配菜单
    Boolean assignMenu(Integer roleId, List<Integer> menuIds);
}
